
package com.ktgj.common.spring.entity.iata.iata_orderretrieverq;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>ServiceDeliveryStatusContentType的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * <pre>
 * &lt;simpleType name="ServiceDeliveryStatusContentType"&gt;
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
 *     &lt;enumeration value="DELIVERED"/&gt;
 *     &lt;enumeration value="EXPIRED"/&gt;
 *     &lt;enumeration value="FAILED TO DELIVER"/&gt;
 *     &lt;enumeration value="IN PROGRESS"/&gt;
 *     &lt;enumeration value="NOT CLAIMED"/&gt;
 *     &lt;enumeration value="READY TO DELIVER"/&gt;
 *     &lt;enumeration value="READY TO PROCEED"/&gt;
 *     &lt;enumeration value="REMOVED"/&gt;
 *     &lt;enumeration value="SUSPENDED"/&gt;
 *     &lt;enumeration value="UNABLE TO DELIVER"/&gt;
 *   &lt;/restriction&gt;
 * &lt;/simpleType&gt;
 * </pre>
 * 
 */
@XmlType(name = "ServiceDeliveryStatusContentType")
@XmlEnum
public enum ServiceDeliveryStatusContentType {

    DELIVERED("DELIVERED"),
    EXPIRED("EXPIRED"),
    @XmlEnumValue("FAILED TO DELIVER")
    FAILED_TO_DELIVER("FAILED TO DELIVER"),
    @XmlEnumValue("IN PROGRESS")
    IN_PROGRESS("IN PROGRESS"),
    @XmlEnumValue("NOT CLAIMED")
    NOT_CLAIMED("NOT CLAIMED"),
    @XmlEnumValue("READY TO DELIVER")
    READY_TO_DELIVER("READY TO DELIVER"),
    @XmlEnumValue("READY TO PROCEED")
    READY_TO_PROCEED("READY TO PROCEED"),
    REMOVED("REMOVED"),
    SUSPENDED("SUSPENDED"),
    @XmlEnumValue("UNABLE TO DELIVER")
    UNABLE_TO_DELIVER("UNABLE TO DELIVER");
    private final String value;

    ServiceDeliveryStatusContentType(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static ServiceDeliveryStatusContentType fromValue(String v) {
        for (ServiceDeliveryStatusContentType c: ServiceDeliveryStatusContentType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}
